package com.lagou.edu.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/8/26 下午5:00
 */
@FeignClient(name = "lagou-service-user")
public interface UserClient {

    @GetMapping("/info/{token}")
    String info(@PathVariable(name = "token") String token);
}
